package com.ok.common.domain.po;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName CardDoc
 * @Description es
 * @Author hw
 * @Date 2024/5/14 16:02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(description = "帖子索引库实体")
public class CardDoc implements Serializable {

    private String id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("图片")
    private String picture;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "作者id")
    private Long userId;

    @ApiModelProperty(value = "分类id")
    private Integer categoryId;

    @ApiModelProperty(value = "浏览次数")
    private Integer viewNum;

    @ApiModelProperty(value = "评论次数")
    private Integer commentNum;

    @ApiModelProperty(value = "点赞次数")
    private Integer goodNum;

    private LocalDateTime updateTime;



}
